function calc_tr() {
  RUST_TOPIC_RECORD=1 ./pyrunner coin/support/latency/calc_taker_ratio_one_day.py --strat_group lm-agg --date $1
}

set -x
#calc_tr 20200106
#./pyrunner coin/support/latency/demo_tr.py --date 20200106

calc_tr 20200201 &
calc_tr 20200202 &
wait
calc_tr 20200203 &
calc_tr 20200204 &
wait
calc_tr 20200205 &
calc_tr 20200206 &
wait
./pyrunner coin/support/latency/demo_tr.py --date 20200201-20200206
